package com.sjc.wallet.repository;

import com.sjc.wallet.entity.VirtualWalletEntity;

import java.math.BigDecimal;

/**
 * @Classname VirtualWalletRepository
 * @Description 数据存取
 * @Date 2020/5/2 15:41
 * @Created by SangJiacun
 */
public class VirtualWalletRepository {

    public VirtualWalletEntity getWalletEntity(Long walletId) {
        return null;
    }

    /**
     * 更新余额
     * @param walletId
     * @param subtract
     */
    public void updateBalance(Long walletId, BigDecimal subtract) {

    }

    public BigDecimal getBalance(Long walletId) {
        return null;
    }
}
